package com.ruoyi.association.service;

import com.ruoyi.association.domain.CustomerCollectEmployee;
import com.ruoyi.dynamic.domain.Dynamic;

import java.util.List;

/**
 * 客户收藏店员 业务层
 * 
 * @author ruoyi
 */
public interface ICustomerCollectEmployeeService
{

    public List<CustomerCollectEmployee> selectCustomerCollectEmployeeList(CustomerCollectEmployee customerCollectEmployee);

    /**
     * 根据条件分页查询关联列表 - 客户关注的店员发布的动态
     *
     * @param customerId 客户ID
     * @return
     */
    public List<Dynamic> selectCustomerCollectEmployeeDynamicList(Long customerId);

    /**
     * 通过店员ID查询店员关联数量
     *
     * @param employeeId 店员ID
     * @return 结果
     */
    public int countCustomerEmployeeByEmployeeId(Long employeeId);

    /**
     * 通过客户ID查询店员关联数量
     *
     * @param customerId 客户ID
     * @return 结果
     */
    public int countCustomerEmployeeByCustomerId(Long customerId);

    /**
     * 通过客户ID和店员ID查询店员关联数量
     *
     * @param customerId 客户ID
     * @return 结果
     */
    public int countCustomerEmployeeById(Long customerId, Long employeeId);

    /**
     * 批量删除客户和店员关联
     *
     * @param customerId employeeId 需要删除的数据ID
     * @return 结果
     */
    public int deleteCustomerEmployeeById(Long customerId, Long employeeId);

    /**
     * 批量新增客户店员信息
     *
     * @param customerEmployeeList 客户店员列表
     * @return 结果
     */
    public int batchCustomerEmployee(List<CustomerCollectEmployee> customerEmployeeList);
}
